import request from "@/utils/request";

export function fetchList(query) {
  return request({
    url: '/accessLog/accessLog',
    method: 'get',
    params: query
  })
}

export function fetchDetail(id) {
  return request({
    url: '/accessLog/accessLog/' + id,
    method: 'get'
  })
}
